<div class="top_panel">
    <div class="wrapper">
        <div class="user">
            <?php
                if($authUser){
            ?>
            <?php echo $this->Html->image('user_avatar.png', array('alt' =>'Avatar','class'=>'user_avatar')); ?>
            <span class="label">
                <a href="javascript: void(0);">
                    <?php echo $authUser['fname'].' '.$authUser['mname'].' '.$authUser['lname']; ?>
                </a>
            </span>
            <?php
                }
                else{
            ?>

           <!-- <span class="label">
                <a href="<?php /*echo $this->Html->url(array('controller' => 'Users', 'action' => 'signup_company')); */?>">
                    <?php /*echo $this->Html->image('user_avatar.png', array('alt' =>'Avatar','class'=>'user_avatar')); */?>
                    Sign Up
                </a>
            </span>-->
            <?php
                }
            ?>
            <!-- Top Tooltip -->
            <?php
            if($authUser){
            ?>
            <div class="top_tooltip">
                <div>
                    <ul class="user_options">
                        <li class="i_16_profile"><a href="<?php echo $this->Html->url(array('controller' => 'Users', 'action' =>'profile')); ?>" title="Profile"></a></li>
                        <!--<li class="i_16_tasks"><a href="#" title="Tasks"></a></li>
                        <li class="i_16_notes"><a href="#" title="Notes"></a></li>
                        <li class="i_16_options"><a href="#" title="Options"></a></li>-->
                        <li class="i_16_logout">
                            <?php echo $this->Html->link('', array('controller' => 'Users', 'action' =>'logout'),array('title'=>'Log-Out')); ?>
                            <!--<a href="#" title="Log-Out"></a>-->
                        </li>
                    </ul>
                </div>
            </div>
            <?php
            }
            ?>
        </div>
        <?php
        if($authUser){
        ?>
        <div class="top_links">
            <ul>
                <!--<li class="i_22_search search_icon">
                    <div class="top_tooltip right_direction">
                        <div>
                            <form class="top_search_form">
                                <input type="text" class="top_search_input">
                                <input type="submit" class="top_search_submit" value="">
                            </form>
                        </div>
                    </div>
                </li>-->
                <li class="i_22_settings">
                    <a href="#" title="Settings">
                        <span class="label">Settings</span>
                    </a>
                </li>
                <!--<li class="i_22_upload">
                    <a href="#" title="Upload">
                        <span class="label">Upload</span>
                    </a>
                    <!-- Drop Menu ->
                    <ul class="drop_menu menu_with_icons right_direction">
                        <li>
                            <a class="i_16_add" href="#" title="New Flie">
                                <span class="label">New File</span>
                            </a>
                        </li>
                        <li>
                            <a class="i_16_progress" href="#" title="2 Files Left">
                                <span class="label">Files Left</span>
                                <span class="small_count">2</span>
                            </a>
                        </li>
                        <li>
                            <a class="i_16_files" href="#" title="Browse Files">
                                <span class="label">Browse Files</span>
                            </a>
                        </li>
                    </ul>
                </li>-->
                <li class="i_22_inbox top_inbox">
                    <a href="#" title="Inbox">
                        <span class="label lasCount">Inbox</span>
                        <span class="small_count">3</span>
                    </a>
                </li>
                <!--<li class="i_22_pages">
                    <a href="#" title="Pages">
                        <span class="label">Pages</span>
                    </a>
<<<<<<< .mine                    <!-- Drop Menu ->
=======                    <!-- Drop Menu
>>>>>>> .theirs                    <ul class="drop_menu menu_without_icons">
                        <li>
                            <a title="403 Page" href="403.html">
                                <span class="label">403 Forbidden</span>
                            </a>
                        </li>
                        <li>
                            <a href="404.html" title="404 Page">
                                <span class="label">404 Not Found</span>
                            </a>
                        </li>
                    </ul>
                </li>-->
            </ul>
        </div>
        <?php
        }
        ?>
    </div>
</div>